package com.example.design.behavior.observer.one;

/**
 * \* @author: bear
 * \* Date: 2021-02-07-17:48
 * \* describe:
 */
public class Test {
	public static void main(String[] args) {
		Student student = new Student("作者");
		Video video = new Video("新闻");

		video.addObserver(student);
		video.execue();
	}
}
